package CircuitLogic;
/*
	电路元件抽象类
 */
public abstract class Components
{
	private boolean isConnect;
	private double resistance;
	public void setConnect(boolean isConnect)
	{
		this.isConnect = isConnect;
	}
	public boolean getConnect()
	{
		return isConnect;
	}
	public void setResistance(double resistance)
	{
		this.resistance = resistance;
	}
	public double getResistance()
	{
		return this.resistance;
	}
}
